package local.server;

public class Test {

	public void T(){
//		try {
			
//			CAPSAdministrationService administrationService = 
//			          managementClient.getService(CAPSAdministrationService.class);
//			
//		    // Get the Management Client
//		    ManagementClient client = ManagementClientFactory.getInstance
//		    ("localhost", 4848, "admin", "adminadmin");
//
//		    // Get the Administration Service
//		    AdministrationService administrationService = 
//		    client.getService(AdministrationService.class);
//		    // ... Use the Administration Service ...
//
//		    // Get the Configuration Service
//		    ConfigurationService configurationService = 
//		    client.getService(ConfigurationService.class);
//		    // ... Use the Configuration Service ...
//
//		    // Get the Deployment Service
//		    DeploymentService deploymentService = 
//		    client.getService(DeploymentService.class);
//		    // ... Use the Deployment Service ...
//
//		    // Get the Installation Service
//		    InstallationService installationService = 
//		    client.getService(InstallationService.class);
//		    // ... Use the Installation Service ...
//
//		    // Get the Runtime Management Service
//		    RuntimeManagementService runtimeManagementService = 
//		    client.getService(RuntimeManagementService.class);
//		    // ... Use the Runtime Management Service ...
//
//		    // Get the JMS Management Service
//		    JmsManagementService jmsManagementService = 
//		    client.getService(JmsManagementService.class);
//		    // ... Use the JMS Management Service ...
//
//		    // Get the Alert Management Service
//		    AlertManagementService alertManagementService = 
//		    client.getService(AlertManagementService.class);
//		    // ... Use the Alert Management Service ...
//
//		    // Get the Log Management Service
//		    LogManagementService logManagementService = 
//		    client.getService(LogManagementService.class);
//		    // ... Use the Log Management Service ...
//
//		  } catch (ManagementRemoteException exception) {
//		    // Format the exception and print it.
//		    String formattedExceptionResult= 
//		    ManagementRemoteExceptionProcessor.processTaskException(exception);
//		    System.out.println(formattedExceptionResult);
//		  }
	}
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
